package cn.myjerry.mediator;

public class Development implements Department {

	private Mediator m;	// 持有中介者的引用
	
	public Development(Mediator m) {
		super();
		this.m = m;
		m.register("development", this);
	}

	@Override
	public void selfAction() {
		System.out.println("专心科研，做自己的事");
	}

	@Override
	public void outAction() {
		System.out.println("汇报工作");
	}

}
